<?php
namespace Api\Controller;
use Think\Controller;
class NoticesController extends Controller {
    public function getNotices(){

        // $m_id = $_GET['m_id'];

        $notices = M('notices');
        $data = $notices -> order("n_id")->select();

        echo json_encode($data);
         echo "<br>";

    }

}
?>